//
//  MonthTimePicker.h
//  YongChuanTradingArea
//
//  Created by 李冰 on 2017/9/13.
//  Copyright © 2017年 李冰. All rights reserved.
//

#import "STPickerView.h"

@class MonthTimePicker;
@protocol  MonthTimePickerDelegate<NSObject>
- (void)pickerDate:(MonthTimePicker *)pickerDate year:(NSInteger)year month:(NSInteger)month day:(NSInteger)day;

@end

@interface MonthTimePicker : STPickerView

/** 1.最小的年份，default is 1900 */
@property (nonatomic, assign)NSInteger yearLeast;
/** 2.显示年份数量，default is 200 */
@property (nonatomic, assign)NSInteger yearSum;
/** 3.中间选择框的高度，default is 28*/
@property (nonatomic, assign)CGFloat heightPickerComponent;

@property (nonatomic, assign)BOOL hasDay;

@property(nonatomic, weak)id <MonthTimePickerDelegate>delegate ;

@end
